package com.wuyb.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: wyb
 * @Date: 2023/12/31/19:59
 * @Description:
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_meeting_application_xq")
@ApiModel(value = "MeetingApplication对象",description = "")
public class MeetingApplication implements Serializable {

    @Serial
    private static final long serialVersionUID = -2957376250734464080L;
    @TableId(value = "id_xq",type = IdType.AUTO)
    private Integer id;

    @TableField("application_id_xq")
    @ApiModelProperty(value = "申请人id")
    private Integer applicationId;

    @TableField("meeting_id_xq")
    @ApiModelProperty(value = "会议id")
    private String meetingId;

    @TableField("state_xq")
    @ApiModelProperty(value = "0 未读 1 已读")
    private Integer state;

    @TableField("send_time_xq")
    @ApiModelProperty(value = "发送时间")
    private LocalDateTime sendTime;

    @TableField(exist = false)
    private Meeting meeting;

    @TableField(exist = false)
    private User users;

}
